<%@ page import="quickmall.Offer" %>



<div class="fieldcontain ${hasErrors(bean: offerInstance, field: 'active', 'error')} ">
	<label for="active">
		<g:message code="offer.active.label" default="Active" />
		
	</label>
	<g:checkBox name="active" value="${offerInstance?.active}" />
</div>

<div class="fieldcontain ${hasErrors(bean: offerInstance, field: 'description', 'error')} ">
	<label for="description">
		<g:message code="offer.description.label" default="Description" />
		
	</label>
	<g:textField name="description" value="${offerInstance?.description}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: offerInstance, field: 'store', 'error')} required">
	<label for="store">
		<g:message code="offer.store.label" default="Store" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="store" optionValue="name" name="store.id" from="${quickmall.Store.list()}" optionKey="id" required="" value="${offerInstance?.store?.id}" class="many-to-one"/>
</div>

